home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 8.9 KB | 265 lines | [TEXT/MPS ] |
- /*
- File: Files.idl
-
- Contains: File Manager (HFS and MFS) Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __FILES_IDL__
- #define __FILES_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
- #ifndef __OSUTILS_IDL__
- #include <OSUtils.idl>
- #endif
- #if !OLDROUTINELOCATIONS
- #ifndef __FINDER_IDL__
- #include <Finder.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #if OLDROUTINELOCATIONS
- /* Finder Constants */
- #endif
- /* mapping codes (ioObjType) for MapName & MapID */
- #if OLDROUTINELOCATIONS
- /*
- The following structures are being moved to Finder.i because
- they are Finder centric. See Finder constants above.
- */
- typedef SOMLargeStruct FInfo; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct FXInfo; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct DInfo; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct DXInfo; /* Derived from a struct of 16 bytes in size */
-
- #endif
- typedef SOMLargeStruct GetVolParmsInfoBuffer; /* Derived from a struct of 20 bytes in size */
-
-
-
- typedef OpaquePtr ParmBlkPtr; /* Substituted OpaquePtr for “ParamBlockRec*” */
-
- typedef OpaquePtr IOCompletionProcPtr;
- typedef OpaquePtr IOCompletionUPP;
- typedef SOMLargeStruct IOParam; /* Derived from a struct of 50 bytes in size */
-
- typedef OpaquePtr IOParamPtr; /* Substituted OpaquePtr for “IOParam*” */
-
- typedef SOMLargeStruct FileParam; /* Derived from a struct of 80 bytes in size */
-
- typedef OpaquePtr FileParamPtr; /* Substituted OpaquePtr for “FileParam*” */
-
- typedef SOMLargeStruct VolumeParam; /* Derived from a struct of 64 bytes in size */
-
- typedef OpaquePtr VolumeParamPtr; /* Substituted OpaquePtr for “VolumeParam*” */
-
- typedef SOMLargeStruct CntrlParam; /* Derived from a struct of 50 bytes in size */
-
- typedef OpaquePtr CntrlParamPtr; /* Substituted OpaquePtr for “CntrlParam*” */
-
- typedef SOMLargeStruct SlotDevParam; /* Derived from a struct of 36 bytes in size */
-
- typedef OpaquePtr SlotDevParamPtr; /* Substituted OpaquePtr for “SlotDevParam*” */
-
- typedef SOMLargeStruct MultiDevParam; /* Derived from a struct of 38 bytes in size */
-
- typedef OpaquePtr MultiDevParamPtr; /* Substituted OpaquePtr for “MultiDevParam*” */
-
- typedef SOMLargeStruct ParamBlockRec; /* Derived from a struct of 318 bytes in size */
-
- typedef SOMLargeStruct HFileInfo; /* Derived from a struct of 108 bytes in size */
-
- typedef SOMLargeStruct DirInfo; /* Derived from a struct of 104 bytes in size */
-
- typedef SOMLargeStruct CInfoPBRec; /* Derived from a struct of 212 bytes in size */
-
- typedef OpaquePtr CInfoPBPtr; /* Substituted OpaquePtr for “CInfoPBRec*” */
-
- /* Catalog position record */
- typedef SOMLargeStruct CatPositionRec; /* Derived from a struct of 16 bytes in size */
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- typedef SOMLargeStruct FSSpec; /* Derived from a struct of 70 bytes in size */
-
- typedef OpaquePtr FSSpecPtr; /* Substituted OpaquePtr for “FSSpec*” */
-
- typedef OpaquePtr FSSpecHandle; /* Substituted OpaquePtr for “FSSpecPtr*” */
-
- /* pointer to array of FSSpecs */
- typedef FSSpecPtr FSSpecArrayPtr;
-
- /*
- The only difference between "const FSSpec*" and "ConstFSSpecPtr" is
- that as a parameter, ConstFSSpecPtr is allowed to be NULL
- */
- typedef OpaquePtr ConstFSSpecPtr; /* Substituted OpaquePtr for “FSSpec*” */
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /*
- The following are structures to be filled out with the _GetVolMountInfo call
- and passed back into the _VolumeMount call for external file system mounts.
- */
- /* the "signature" of the file system */
- typedef OSType VolumeType;
-
- #if !OLDROUTINELOCATIONS
- typedef SOMLargeStruct VolMountInfoHeader; /* Derived from a struct of 6 bytes in size */
-
- typedef OpaquePtr VolMountInfoPtr; /* Substituted OpaquePtr for “VolMountInfoHeader*” */
-
- /*
- The new volume mount info record. The old one is included for compatibility.
- the new record allows access by foriegn filesystems writers to the flags
- portion of the record. This portion is now public.
- */
- typedef SOMLargeStruct VolumeMountInfoHeader; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr VolumeMountInfoHeaderPtr; /* Substituted OpaquePtr for “VolumeMountInfoHeader*” */
-
- /* additional volume mount flags */
- #endif
- typedef SOMLargeStruct AFPVolMountInfo; /* Derived from a struct of 168 bytes in size */
-
- typedef OpaquePtr AFPVolMountInfoPtr; /* Substituted OpaquePtr for “AFPVolMountInfo*” */
-
- typedef SOMLargeStruct DTPBRec; /* Derived from a struct of 104 bytes in size */
-
- typedef OpaquePtr DTPBPtr; /* Substituted OpaquePtr for “DTPBRec*” */
-
- typedef SOMLargeStruct HIOParam; /* Derived from a struct of 50 bytes in size */
-
- typedef OpaquePtr HIOParamPtr; /* Substituted OpaquePtr for “HIOParam*” */
-
- typedef SOMLargeStruct HFileParam; /* Derived from a struct of 80 bytes in size */
-
- typedef OpaquePtr HFileParamPtr; /* Substituted OpaquePtr for “HFileParam*” */
-
- typedef SOMLargeStruct HVolumeParam; /* Derived from a struct of 122 bytes in size */
-
- typedef OpaquePtr HVolumeParamPtr; /* Substituted OpaquePtr for “HVolumeParam*” */
-
- typedef SOMLargeStruct XIOParam; /* Derived from a struct of 54 bytes in size */
-
- typedef OpaquePtr XIOParamPtr; /* Substituted OpaquePtr for “XIOParam*” */
-
- typedef SOMLargeStruct XVolumeParam; /* Derived from a struct of 138 bytes in size */
-
- typedef OpaquePtr XVolumeParamPtr; /* Substituted OpaquePtr for “XVolumeParam*” */
-
- typedef SOMLargeStruct AccessParam; /* Derived from a struct of 52 bytes in size */
-
- typedef OpaquePtr AccessParamPtr; /* Substituted OpaquePtr for “AccessParam*” */
-
- typedef SOMLargeStruct ObjParam; /* Derived from a struct of 36 bytes in size */
-
- typedef OpaquePtr ObjParamPtr; /* Substituted OpaquePtr for “ObjParam*” */
-
- typedef SOMLargeStruct CopyParam; /* Derived from a struct of 52 bytes in size */
-
- typedef OpaquePtr CopyParamPtr; /* Substituted OpaquePtr for “CopyParam*” */
-
- typedef SOMLargeStruct WDParam; /* Derived from a struct of 52 bytes in size */
-
- typedef OpaquePtr WDParamPtr; /* Substituted OpaquePtr for “WDParam*” */
-
- typedef SOMLargeStruct FIDParam; /* Derived from a struct of 58 bytes in size */
-
- typedef OpaquePtr FIDParamPtr; /* Substituted OpaquePtr for “FIDParam*” */
-
- typedef SOMLargeStruct ForeignPrivParam; /* Derived from a struct of 68 bytes in size */
-
- typedef OpaquePtr ForeignPrivParamPtr; /* Substituted OpaquePtr for “ForeignPrivParam*” */
-
- typedef SOMLargeStruct CSParam; /* Derived from a struct of 76 bytes in size */
-
- typedef OpaquePtr CSParamPtr; /* Substituted OpaquePtr for “CSParam*” */
-
- typedef SOMLargeStruct HParamBlockRec; /* Derived from a struct of 646 bytes in size */
-
- typedef OpaquePtr HParmBlkPtr; /* Substituted OpaquePtr for “HParamBlockRec*” */
-
- typedef SOMLargeStruct CMovePBRec; /* Derived from a struct of 52 bytes in size */
-
- typedef OpaquePtr CMovePBPtr; /* Substituted OpaquePtr for “CMovePBRec*” */
-
- typedef SOMLargeStruct WDPBRec; /* Derived from a struct of 52 bytes in size */
-
- typedef OpaquePtr WDPBPtr; /* Substituted OpaquePtr for “WDPBRec*” */
-
- typedef SOMLargeStruct FCBPBRec; /* Derived from a struct of 62 bytes in size */
-
- typedef OpaquePtr FCBPBPtr; /* Substituted OpaquePtr for “FCBPBRec*” */
-
- typedef SOMLargeStruct VCB; /* Derived from a struct of 178 bytes in size */
-
- #if !OLDROUTINELOCATIONS
- typedef OpaquePtr VCBPtr; /* Substituted OpaquePtr for “VCB*” */
-
- #endif
- typedef SOMLargeStruct DrvQEl; /* Derived from a struct of 16 bytes in size */
-
- typedef OpaquePtr DrvQElPtr; /* Substituted OpaquePtr for “DrvQEl*” */
-
- #if OLDROUTINELOCATIONS
- #endif
- #if FOR_SYSTEM7_ONLY
- #endif
- #if OLDROUTINELOCATIONS
- #endif
- #if CGLUESUPPORTED
- #endif
- #if OLDROUTINELOCATIONS
- #endif
- /* shared environment */
- /* Desktop Manager */
- /* VolumeMount traps */
- /* FSp traps */
- #if OLDROUTINENAMES && !GENERATINGCFM
- /*
- PBGetAltAccess and PBSetAltAccess are obsolete and will not be supported
- on PowerPC. Equivalent functionality is provided by the routines
- PBGetForeignPrivs and PBSetForeignPrivs.
- */
- #endif
- #if OLDROUTINENAMES
- /*
- The PBxxx() routines are obsolete.
-
- Use the PBxxxSync() or PBxxxAsync() version instead.
- */
- #if OLDROUTINELOCATIONS
- #endif
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __FILES_IDL__ */
-
-